<%= render_resource_context :no_back => true %>

<%= show_label("Editar datos de #{controller.model_name.humanize}") %>

<%= error_messages_for :resource %>

<% form_for(controller.model_name, @resource,
            :builder => AdminBuilder,
            :url => edit_url, 
            :html => html) do |f| %>

  <%= render :partial => "form", :locals => {:f => f} %>

  <div class="actions">
    <%= submit_tag "Guardar estos cambios", :class => 'save' %> o 
    <%= link_to 'Cancelar', "javascript:history.back()" %>
  </div>
<% end %>

